8250: Fix capabilities when changing the port type