libreadline requires libtermcap on OpenBSD.
Merge pull request #2216 from iij/pr-mirb-link-termcap

libreadline requires libtermcap on OpenBSD.