Check for TClingClassInfo not Null when adding to the map and change constant for more than one class in the map with same DeclId. (ROOT-6159).