Remove PAM dependency code.

The libpam dependency was brought 3.5 years due to c-client.  As of today,
there's no need neither in HHVM or c-client to link against libpam.

Sync with Debian patch 10_remove_libpam.patch from 2.4.1-1.