Avcodec: fix FTBFS with FFmpeg because of YUVA422P definition

Close #10127