Fix a bunch of clang reported issues.
Merge pull request #3805 from ktf/clang-dqm

DQM -- Fix a bunch of clang reported issues in DQM