use the more portable EBADF instead of EBADFD (thanks Steven Chamberlain) (r1951 from 0.7)

git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.7.15+squeeze@1952 ef36b2f9-881f-0410-afb5-c4e39611909c