Inform github about generated files, hopefully avoiding annoying PR diffs. Also use the C/C++ diff pattern for C sources.