parallel cppcheck invocation corrupts common output file

See this thread for a similar question and possible solution.