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

this one avoids calling poll() more than necessary
23d25dbb9eAndrew Kelley committed on 1/31/2026, 6:03:14 AMparent642f329
2 files changedLine totals unavailable