build: don't add curses.h to incremental confdefs.h