avformat/hls: remove repeated http proto_name checks in open_url()