Refactored a few dexdump alloc/free into unique_ptr

Rationale: easier to read

Test: dexdump's output is well-tested

Change-Id: Ib5b36dce68d442e555599f9427bd9bfa7c6f3831
2 files changed