panic: ensure preemption is disabled during panic()