Refactor Transform/redefine entrypoints

The RetransformClasses and RedefineClasses entrypoints were previously
partly defined in OpenjdkJvmTi.cc. Most other entrypoints are entirely
defined in other files with only basic capability checks occurring in
OpenjdkJvmTi.cc. This change brings these functions into alignment
with all the others.

Test: ./test.py --host
Bug: 134162467
Change-Id: I1e2e6506c89ad0e393dacdbc7f2d96659678397e
5 files changed