[klibc] stdio: fix the handling of the eof and error flags on fseek

For fseek, a successful seek clears the eof flag; a failed seek sets
the error flag.  This means we don't need to clear the eof flag in
rewind().

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2 files changed