nss_ldap: Fix segfault when using glibc-2.16 and linking with pthread

This update fixes the following issues for nss_ldap:
- fix segfault when using with glibc-2.16 (PADL-Bug#445)
- linking with pthread (PADL-Bug#446)

Fixed bugs
Selected Binaries
openSUSE Build Service is sponsored by