src,lib: migrate to console on context's extra binding
Since globalThis.console
is not an ECMAScript defined builtin, V8's globally installed console
implementation is been moved to the context's extra binding object: https://source.chromium.org/chromium/chromium/src/+/main:v8/src/init/bootstrapper.cc;l=4429?q=bootstrapper.cc
We need to migrate to that one before the globally installed console object is removed in V8.