uart: remove unused interface function that peripheral_interface_uart_set_mode().