avformat/configure, avformat/Makefile: add libavdevice for newer versions of ffmpeg...