libavformat/hlsenc: Remove duplicate close of the output stream.