Fix possible memory leak if not LZMA_STREAM_END or LZMA_OK.