libcore: Get rid of useless mem::forget wrapper.

Fixes #15401.
I think these docs (and even the `#[stable]`) may need to go on the actual definition, not the reexport.

(@aturon would know for sure about the reexport.)