Implement support for backspace in krnl_serial_read_string.