avcodec: copy correct chroma plane in CopyFromYv12.