Added UART getc for mode selection in bootloader

Press 'd' to enter Diagnostics mode. For now it just prints a message
but this will be used to boot an alternative ROM image.

Also, use this alternative ROM image by default in Verilator testbench.