Update codebase to use scoped_refptr<T>::get() rather

than implicit "operator T*"

It's going to be removed upstream at some point.