ncurses: make ncurses-terminfo depend on ncurses-base

This is to fix broken symlinks.

(cherry picked from commit 41196a3b04096994594b215bbede1e080a971148)