Inline caches: be more robust in the presence of framework change. am: 4fba66c842

Original change: https://android-review.googlesource.com/c/platform/art/+/1810836

Change-Id: Iec87e026e213877167b23c4b8c5db4ab4d615d53