ITS#10498 libldap: more const-correctness for OpenSSL 4
ITS#10498 libldap: silence a couple more warnings OpenSSL 3 and 4 differ on constness here, and 4 is self-inconsistent between getter and d2i. Discard the useless const qualifiers.