Fix build of ffmpeg wrapper with some versions of avutil