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