Test: cppcheck: Run cppcheck against certain defines.
This commit adds a new cppcheck-all make target that runs cppcheck with
several additional things defined. These change major portions of
compilation and might have their own build problems hiding. It's
probably enough to just have one cppcheck run with everything defined at
one. We don't really do anything very complicated.
Note that ENABLE_VERSIONED_ATTRS is not included at the moment. This
seems to be less well supported, so it's not yet worth testing.