Panic handler for embedded systems This overrides Nim's default panic handler for bare metal ARM targets