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

This commit stabilizes the `mem` and `default` modules of std.