[ARM64] Ensure immediates in extend operands are in a valid range

Also emit a more useful diagnostic when they are not.