Change OatClassType to enum class.

Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Bug: 148412019
Change-Id: I0709a467c92f38e6886d3936b20c2c7869429956
7 files changed