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