avformat: Add AVPROBE_SCORE_EXTENSION define and use where appropriate