Accept nil for new_parent_dn for rename

ldap_rename_s() can be used without parent change. If we specify NULL
as c_newparentdn, ldap_rename_s() doesn't change parent.