preempt: add module initialization safety checks