(__nss_configure_lookup): Fix loop end condition.