avformat/configure: fix compiling against shared ffmpeg due to changes in ffmpeg...