avformat/configure: fix compilation against shared ffmpeg for a headers configuration...