cmNinjaTargetGenerator: avoid traversing old outputs repeatedly We actually only need to look at outputs just added to the vector, not all outputs that have been detected so far.