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