dist/tools: add cppcheck script

Enables easy linting of:
- either the whole tree
- or just one branches changes against another branch
If you'd use `{file}:{line}:` then I could the output verbatim.
My favorite editor Geany understands "file.c:123" (and "file.c:123:45"), but not "file.c(123)").