target/arm: Improve exception-taken logging