Update hboot.c

Fix crash in uart