Fix linking against terminfo on Gentoo
Fix linking against terminfo on Gentoo

ncurses can be build without a separate tinfo library. This is the
default on Gentoo unless the tinfo USE flag is enabled.
If there is no separate tinfo library, the main curses library needs to
be linked instead.

ProfessorKaos64/voglperf,ProfessorKaos64/voglperf,ProfessorKaos64/voglperf