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