Change OatClassType to enum class. am: 3d76ebebfb am: 7e9a580576 am: 0cc2bd9cdf

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

Change-Id: I9b60fd3072a22afb17087aac1fb5c514af1dc3ee