Suppress some inaccurate cppcheck warnings