deps: cherry-pick a51f429 from V8 upstream
Checklist
-
make -j4 test
(UNIX) -
commit message follows commit guidelines
Affected core subsystem(s)
deps V8
Description of change
Cherry-pick a51f429 from V8 upstream. Fixes case-insensitive regex problem in https://github.com/nodejs/node/issues/7708.
/cc @nodejs/v8