cppcheck 1.59

Closes #18897.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>