yuv: Support 4GB+ YUV files for output
Merge with stable