[PATCH 1/4] quartz/vmr9: Factor out plane data copying.