[ruby-core:124663] [Ruby Feature#21858] `Kernel#Hash` considers `to_h` too