Correct file readability check
Correct file readability check

This uses access() instead of stat() to see if the file is readable by
the current process. This fixes f089e01.

arthurdejong/nss-pam-ldapd,arthurdejong/nss-pam-ldapd,arthurdejong/nss-pam-ldapd