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