[PATCH] testbot: Simplify a loop in PatchUtils::GetPatchImpact().