Fix startup with debug log pref enabled on Windows

I don't know how I possibly ended up with sendConsoleAPIMessage()
here...