src: refactor node options parsers to mitigate MSVC bug
Simplify node_options
API, so the compiler bug should not manifest.
Should fix current master
Fixes: https://github.com/nodejs/node/issues/25593
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines