Makefile.defs: set LIBSSL_SET_MUTEX_SHARED by default to 1
- one can set LIBSSL_SET_MUTEX_SHARED=0 in make command line to switch
to detection mode if it is need to set it or not based on libssl
version
- GH #3458, GH #3384
(cherry picked from commit 5e0fb402a7755ea22c41c0b8fcefbdf9694442b8)