core_panic() doesn't expect the message to be in program memory, but
in data memory. Bad things will happen on AVR when the address is
interpreted as being in data address space, but the allocation is
done in program address space.
(cherry picked from commit 35a1b60068d8efadf3beb31b71c9022a5856bdd9)