jenkins-build: only feed .c and .h files to cppcheck

Before, cppcheck was trying to check Makefiles and *.patch, so stop that ;)

Sort the file list since cppcheck checks the files in the order that it
receives them.