More reliable check for std::string in missing dictionaries. (ROOT-6269).