ncurses: fix cbreak prototype to match the header