Inline some type checks of instanceof and checkcast in nterp. am: c2b3116e81

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

Change-Id: Ib6f32500c80acf1799075564a837ee711dd683fd