cmGlobalNinjaGenerator: only restat build.ninja

This reduces the work that ninja needs to do on a CMake reconfigure.
1 file changed