[ruby-core:125591] [Ruby Bug#22086] Backport Marshal overflow fix