AVIDump: use new ffmpeg/libav API

libav 10 has been released on May 10th, 2014 (it drops support for some
long-deprecated stuff).