vdpau/avcodec: fix build for older ffmpeg

Signed-off-by: Rafaël Carré <funman@videolan.org>