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