avformat/hlsenc: check hls segment mode for ignore the init filename