ncurses: apply a patch on Darwin for a clang bug

I ran into this today after my pull, and required the referenced patch to proceed.