lib: use `internal/options` to query `--abort-on-uncaught-exception`
Instead of using
internalBinding('config').shouldAbortOnUncaughtException
.
Also removes that property from the binding.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines