Disable curses support for cmake

This change disables curses support for CMake, which is not used in the OpenELEC build system.