BIOS: Implement debug console output

Implement debug output over the serial port, using the NS16550 driver.