avformat/hls: fix missing segment offset reset on last segment when http_multiple...