ARM64: Improve BoundsCheck for constant inputs.
am: be53085e18

Change-Id: I954630429b7ac17a1102d1f95ec33b421316d62e