main: Override global logError() function
logError() prints an exception with an optional prefix, and is used fairly commonly through-out the code base.
The problem is that by being defined in gjs, it uses "Gjs" as the GLib log domain, not our own as expected.
Address this by adding a small override that implements the function with console.error().