lib-php: make ldap_read failures silent