doc repair
Work around bug in QNX readlink

QNX readlink null-terminates its result and adds the termination
to the len-result. Fix by decrementing len if needed.
readline: explicitly load "libncurses"

Needed for OpenBSD