Refactor statistics printing in oatdump.

Simplify the code so that it is easier to add/remove sections.
(motivated by the non-trivial removal of DexCache arrays)

Test: m dump-oat
Test: m test-art-host-gtest-art_oatdump_tests
Change-Id: I2fe4a3062125d8aa053c1a38eb24a624f95291b0
4 files changed