Don't cast fgetc()'s return value to a char.

Fix an issue described by Mihai Moldovan: int values
returned by ConfigParser::FileCharStream::GetCharImpl() were
cast to chars, resulting in EOF getting lost.
Merge pull request #7 from derat/fgetc

Don't cast fgetc()'s return value to a char.