Print message before halting in panic().