std: Second-pass stabilization of `mem`/`default`

This commit stabilizes the `mem` and `default` modules of std.
This seemed suspicious to me, @aturon do you remember why this was here?