Clean up profile AddClass APIs

Remove AddClassIndex APIs which were only used in tests (or test profile generation).
This was the last API which exposed the profile key internals.

Bug: 139884006
Test: m test-art-host
Change-Id: Iea41b85484c7f1ec33eaad75cd18c65adcb7853e
5 files changed