Second part of the fix for ROOT-6694

when building the checksum of a class, do not check base classes
if the class is in stl.