Check Dwarf type info against heap dump type info.  Use the
Dwarf type only if it matches.