cppcheck: fix --with-gui option not finding cfg

Fixes #27756.
cppcheck: add 1.64 bottle.