Migrate all jvm compilation options to the new registration style.

Testing Done:
CI passed. Manual verification that flags still work.

Reviewed at https://rbcommons.com/s/twitter/r/1127/