ARM64: Improve BoundsCheck for constant inputs. am: be53085e18 am: 5345f5cc31
am: 8799fe12f2

Change-Id: I654b87333f31c20e3b852b6ad7f95d4ed7991353