libcli/ldap: fix compiler warnings