ldap_modify_batch: remove unused variables

tmpStr and tmpUint are unused. Remove them.