Clang fixes for PhysicsTools/SelectorUtils

Fixed the clang compiler errors and warnings originating from PhysicsTools/SelectorUtils.
These fixes are needed for the static analyzer to successfully parse the code.
Automatically ported from CMSSW_7_2_X #5300