generic/574: remove invalid test of read completely past EOF