Update .gitignore files with entries normally generated by in-tree builds.