Revert "Fix infinite loop in Reader.Limited"

This reverts commit 27aba2d776caf59bb6569934626af587fdba9c75.

I'd like to review this contribution more carefully, particularly with
the alternate implementation that is also open as a pull request
(#25109).

Reopens #25093
b824ca8494Andrew Kelley committed on 10/7/2025, 9:35:08 PMparent2c0aa1c
1 file changedLine totals unavailable