avformat/hls: skip invalid variant