Ignore dirty submodules

Ignore changes in submodules caused by the build process. This prevents
these submodules from showing up when checking git status.