DwarfUnit: Remove unused function