DebugInfo: Avoid emitting pubtype entries for type DIEs that just indirect to a type unit.