DWARFUnit: kill dead code and make a couple of functions private. No functionality change.