[ruby-core:112671] [Ruby master Feature#19474] Reduce the number of NEWOBJ macros