Fix #safe_constantize failing for Object scoped missing constants

- Before
 "Object::ABC".safe_constantize # => NameError: uninitialized constant ABC
The output should be nil.
- After
"Object::ABC".safe_constantize # => nil