std.Build.Step.CheckObject: mostly revert to master branch

the updated code to use new std.io API is crashing
e97a0ffb60Andrew Kelley committed on 7/8/2025, 5:43:53 AMparentf2ad3bc
1 file changedLine totals unavailable