Considers the index when extracting location lists from a .dwp file. The location list sections are added when constructing units.
Majority of the patch by David Blaikie.
@dblaikie:
I've extracted the cleanup portion of your patch with the intent to apply it separately.
Not sure if I mentioned this, but any chance we could generalize this solution for all contribution/unit index handling? (so unindexed sections are passed into the ctor here, but they're all converted to indexed offset sections from here on out?) For example the str_offsets section handling in extractDIEsIfNeeded could be moved up here, maybe?