vdpau/avcodec: fix build for older ffmpeg