arm64/isel: Avoid signed overflow when handling immediates