ccmake: Restore compilation with AIX curses.h
On AIX, including <curses.h>
includes <term.h>
which defines
a bunch of non-prefixed, lower-case macro names. Undefine one
that conflicts with our source code.
Fixes: #24229 (closed)
Backport: release
Edited by Brad King