deps: V8: fix spread operator
The spread operator currently mutates some input objects. This is already fixed in V8, so I just went ahead to backport these commits.
Fixes: #25089 (closed)
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines