Cleanup some unused or trivial functions in DwarfCompileUnit