www/elinks: Fix build on OpenSSL 1.1.1
Use the provided getter routine instead of directly accessing the contents
of the SSL struct, which is no longer exported as part of the ABI.
Reviewed by: beat@
Approved by: beat@
Differential Revision: https://reviews.freebsd.org/D18325