[Git][openldap/openldap][master] ITS#9157: check for NULL ld