avcodec: Suppress deprecation warnings from avcodec_alloc_frame()