Make Windows compile again.

feof_unlocked is not available on Windows.

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>