CRuby r44194 support nested class path as well as const_get

https://bugs.ruby-lang.org/issues/7414 [Feature #7414]