Fix pointer incompatibility issue on some platforms

Don't assume tv_sec is a time_t.
closedir() replacement function should return a result

return success, ignoring result of FindClose
ITS#7965 mdb_dn2id

heap corruption due to returning a reference to a local variable
ITS#7967 fix abandon regression

From ITS#7712, avoid double-free of request
Fix a1e3b1cf3c5991ef550f608ee816e9274e547dda

copy/paste error
Fix typo in cancel config
ITS#7975 fix onelevel search
ITS#7976 fix delta-mmr/accesslog interaction
ITS#7977 Add PBKDF2 -SHA256 and -SHA512
ITS#7979 MozNSS fix for TLS_PROTOCOL_MIN

Fix NSS code to check for TLS_PROCOTOL_MIN, and then set the SSL
version range(min and max). Also updated SSL version string map
table to support up to TLSv1.3
ITS#7968 add locks for syncrepl cookiestate

Mutex must be held even for a read-access of a cookie state,
as there may be a race with write in other thread.