configure: Do not use pkg-config to find OpenSSL

This allows working with both OpenSSL and LibreSSL.