Corrected cppcheck errors. Refs #9243.
Merge branch 'feature/9243_improve_loadeventprenexus' into develop