correctly handle the case where the gid option is before the uid option in the configuration (fixes r1723)

git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1907 ef36b2f9-881f-0410-afb5-c4e39611909c