[SERIAL] Fix UPF_ flag usage with uart_info->flags