Serial: Allow port type to be specified when calling serial8250_register_port.