[ruby-core:117035] [Ruby master Feature#20317] Removing the `allocate` method should cause `new` to fail