Ninja: job pool support for compiling and linking

Could be tested by setting the environment
variable NINJA_STATUS=[%r]
Merge topic 'ninja-compile-link-pool' into next

7605e37 Ninja: job pool support for compiling and linking