openssl: enable OPENSSL_WITH_DEPRECATED when OpenSSL is built as a build dep