Fix a bunch of clang reported issues in DQM