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.