std.process.Child.collectOutput: change back to other impl

this one avoids calling poll() more than necessary
c95c442b75Andrew Kelley committed on 1/10/2026, 4:47:25 AMparent1ca398b
2 files changedLine totals unavailable