iASL/TableCompiler: Fix an int/char width issue on some compilers

Expand value saved after a call to getc() to an int, otherwise
some compilers complain during comparison to EOF later.
Reported by Naresh Bhat <naresh.bhat@linaro.org>