target/arm/arm-semi: Capture errno in softmmu version of set_swi_errno()