Refactor ElfDebugReader.

Make the code more flexible, which I will need for
future mini-debug-info work.

Bug: 110133331
Test: ./art/test.py -b -r -t 137
Change-Id: I8b0fe3c43537f546f2ff103bff3c63a59a0f940a
6 files changed