Update parser.c

- In OpenBSD Libc many function is weak symbols, so system read shadowed
  by read in parser, rename it to read_char
- Rename some other functions