runtime/noos: slightly improved handling of HardFault.