[v8.x backport] src: use nullptr instead of NULL
This is a backport of https://github.com/nodejs/node/pull/17373
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
src, tools