imporve calfflac.c

use macro getc but fgetc to improve