target/arm/arm-semi: fix SYS_OPEN to return nonzero filehandle