sim: m32r: reformat linux traps code

Do this as a sep commit to try and make the history easier to review.
2 files changed