std: Move dynamic_lib from std::unstable to std

This leaves a deprecated reexport in place temporarily.

Closes #1457.

I didn't mark this a breaking change because of the deprecated reexport.