Modules/FindCurses.cmake:form and tinfo detection when CURSES_NEED_WIDE is set
When CURSES_NEED_WIDE=TRUE is set in Modules/FindCurses.cmake, not only ncursesw shall be used instead of ncurses, but also formw and tinfow must be used in place of libform and libtinfo