Fix uart_set_ldisc() function type