Detect duplicates in rootmaps.(ROOT-6055).