[ATR-22379] Change hashing collision detection to use TBB for better MT performance
There is a bottleneck in MT trigger or trig-mon jobs in performing hashing of HLT::Identifiers. This was put behind a simple mutex for basic thread safety, but this mutex has shown to have severe performance penalties in highly MT jobs.
Rework this using a concurrent hash map, first looking to check against a hash already in the map, and confirming that there is no collision (most common) in a non-locking manner.
Falling back to a locking insertion if the hash is not yet in the map.
cc @tbold