Use kPointerSize when cross-compiling.

ArtMethod::At should be passed the kPointerSize for cross-compilation.
Unfortunately, we don't have a good setup for testing cross-compilation,
so rely on APK scanner for testing.

Test: APK scanner
Test: manually compiling an APK that used to crash.

Bug: 264002996
Bug: 263386862
Bug: 230684246
Change-Id: I85cee2ef594a4c6fd107b32ee5a10d02b4edfa77
1 file changed