Build: Use absolute paths in .gitignore

.gitignore treat all its paths as relative to *every*
directory in the repository. In most cases that’s not what’s desired.