Backport of "dtlsagent: Do not overwrite openssl locking callbacks" into 1.16
Backport of !333 (merged) "dtlsagent: Do not overwrite openssl locking callbacks".
Needs manual intervention, cherry-picking failed!
Commits:
Edited by Tim-Philipp Müller