Move shared_ptr and intrusive_ptr from the global to the OIIO namespace

This avoids conflicts when another package already defines them, in particular this OSL issue:
https://github.com/imageworks/OpenShadingLanguage/issues/242