src: remove depricated methods from v8.h
Clean up depricated methods in v8.h
Resolves https://github.com/nodejs/node/issues/24552
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
v8, test