ARM: semihosting entry cleanup