Check for OpenSSL support for --enable-dane

It doesn't make any sense to build Irssi without SSL support, but with
DANE support. This patch adds an extra check in the configure script
that will make the script bail out if someone tries to build Irssi with
DANE support, but without OpenSSL support.