Small changes around AIDL conversion code

- Extract enum handling to the generic utilities (for use by a later
  commit).
- Small renaming and formatting changes.
- Removal of an unnecessary header dependency.

Test: Audio tests from CtsMediaTests
Change-Id: I598a85bf1081874ac04aab3f37fe757231e8837d
4 files changed