ncurses: fix types in constructor declaration

Fix the types in the constructor declaration. This issue is never caught
by gcc because the object is never initialized but clang (correctly)
catches it and bails.