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