moved serial-log-function from printk.c to putchar.c