DebugInfo: Avoid re-looking up the DwarfUnit when emitting pubnames/pubtypes