memstream: return the internal string in vlc_memstream_close()
It's NULL in case there's an error. We don't need an error code for that.
In many case the result is just returned the same way without touching the vlc_memstream anymore.
We can keep the VLC_USED and even add VLC_MALLOC for these return values.