AArch64: The pattern match should check the range of the immediate value.