Allow the kernel to log a panic message while the logger is still locked
Normally you can't log anything while the logger is locked to avoid multiple log messages from getting interleaved. When panicking the logger may never be unlocked as you may be panicking on the same kernel thread that holds the lock. Getting the panic message interleaved with other messages is much better than hanging without any panic message getting printed at all.