src: simplify InspectorConsoleCall
Instead of a JS object, set the is-in-console-call flag as a boolean in C++.
(Based on @joyeecheung’s suggestion in #26113)
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines