Adapt code to DQMEDAnalyzer for multithreaded framework running

Migrating DQMOffline HLT code to be thread safe:
DQMOffline/Trigger/src/GeneralHLTOffline.cc