In D61502#1503247 @clayborg suggested that SymbolFileDWARF *dwarf2Data is really redundant in all the calls with also having DWARFUnit *cu. So remove it. I see no regressions.
There are some nullptr checks, I changed those needed from dwarf2Data == nullptr to cu == nullptr but then who knows if they can happen.