Refactor experimental-modules check into runMain
This provides a slightly cleaner separation, moving the top-level ESM load to higher up in the bootstrap as it should be.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines