[SERIAL] Make uart_port flags a bitwise type