[SERIAL] Make uart_info flags a bitwise type