fftools/ffmpeg_filter: Fix check for mjpeg encoder