tools/configurator: add HAVE_SYS_TERMIOS_H