Store a subset of the subprogram DIE when dumping .debug_info

When running this tool on the Chrome binary:
  memory usage: 14.5G before, 10.5G after
  runtime: ~2m35s before, ~2m15s after