configure: dry up libavfilter checks