Fix ncurses static linkage.

Merged Brandon Bergren requested to merge Bdragon/packages:ncurses-fix-static-linkage into master

Use the same linker script trick as used on the .so files on the .a files to redirect to the wide version of the static libraries.

Fixes an issue with llvm-config --system-libs --link-static pulling in curses instead of tinfo.

Merge request reports