avformat/hlsenc: refine EXT-X-BYTERANGE support for segments