Serialize printing during panic()