Use boost::isnan to avoid cppcheck error and for clearer code!

Refs #8940
Put back cpp suppression that cppcheck still requires.

Refs #8940
Merge branch 'bugfix/8940_cppcheck-fixes' into develop