Add support for the ninja_max_iterations variable.

This change is to enable more involved bootstrapping for build manifest generator.