Fix dojo/ready to not blindly make calls to methods that might not exist on the require object. Fixes #15616.
!strict