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