Fix rb_profile_frame_classpath to handle module singletons Right now `SomeClass.method` is properly named, but `SomeModule.method` is displayed as `#<Module:0x000055eb5d95adc8>.method` which makes profiling annoying.
Related issues
Bug #16834: rb_profile_frame_classpath only recognize class singleton methods, not module singleton methods
merge revision(s) cbe4f75ef802f13d05f94e42274b65a062bd3666: [Backport #16834]