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