Fix longstanding deopt issue not using the right deopt type. am: 5f7788917e

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

Change-Id: I42eeb434c30614236d2aebe625cd14a3dc63e848