[klibc] stdio: fix ferror()

Thanks to the stdio branch merge the error indicator of the stream
can be tested against.

Signed-off-by: maximilian attems <max@stro.at>
3 files changed