Use ROOT function GetMissingDictionaries

Use the new ROOT6 function TClass::GetMissingDictionaries to check for missing dictionaries.
Remove the code in CMS that did this, as it is no longer needed.
Please merge this promptly unless there are issues.