[ruby-core:122224] [Ruby Feature#21353] Add shape_id to RBasic under 32 bit