[ruby-core:113397] [Ruby master Feature#19627] Add a way to detect if the Ruby VM is running in C API