dist: run cppcheck with only one job (triage #2089)

This PR triages #2089 by running cppcheck with only one job. Should be reverted as soon as cppcheck returns the correct exit code when running with multiple jobs.