avformat/format: Use av_match_name() instead of list in av_match_ext()