hvc_console: fix test on unsigned in hvc_console_print()