ninja 1.4.0

Fixes #22587.