marcmap: fix type for ch in use of getc