[ruby-core:123961] [Ruby Feature#21722] Expose rb_gc_mark_weak API for use in extensions