avcodec/mpegvideo: Set err on failure in ff_mpv_common_frame_size_change()