Treat syntaxError and cppcheckError as InternalErrors (throw as exception, #4268)
Fixed five new true positives in cppcheck, silenced one new false positive (see #5618)