Add DwarfUnit::isDwoUnit and use it to generalize string creation