src: make it simple to emit process warnings from src
Checklist
-
make -j4 test
(UNIX), orvcbuild test nosign
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
src
Description of change
Adds three new macro variants that call out to the process.emitWarning() API from src. This is primarily to support https://github.com/nodejs/node/pull/2741 should we ultimately decide to deprecate access to process.binding('natives')
/cc @bnoordhuis @vkurchatkin @ChALkeR