[ruby-core:120654] [Ruby master Feature#20971] Deprecate `rb_path_check`