avformat/hlsenc: add reference stream index for split segment