yuv4mpeg: fix potential alignment bug