[sr-dev] git:master:8b74c67d: Revert "Revert "tls: proper ifdef on libssl version for tls_init_locks()""