Removes using shared_ptr to make STL usages consistent.
Differential Revision: https://code.wildfiregames.com/D4005