avformat/hlsenc: free variant streams after write all variant streams info