[ruby-core:119260] [Ruby master Feature#20750] Expose ruby_thread_has_gvl_p in ruby/thread.h