waf: getch2 HAVE_TERMINFO implies HAVE_TERMCAP