kernel/panic.c: turn off locks debug before releasing console lock