build: fix pam library inclusion and usage

The pam_misc was deliberately included by the
Makefile_am, however, no calls into pam_ were made
from libuserlayer.  Pam calls were made from
usercommand.cpp, in libipmi20.so.  The calls are
part of the primary pam library.

Before:
objdump -t phosphor-host-ipmid/.libs/libipmi20.so\
 |grep "UND"|grep -v "@@"|grep "pam"
0000000000000000 *UND* 0000000000000000 pam_end
0000000000000000 *UND* 0000000000000000 pam_chauthtok
0000000000000000 *UND* 0000000000000000 pam_start

Now:
objdump -t ./.libs/libipmi20.so|grep "UND"|grep pam
0000000000000000 F *UND* 0000000000000000 pam_chauthtok@@LIBPAM_1.0
0000000000000000 F *UND* 0000000000000000 pam_end@@LIBPAM_1.0
0000000000000000 F *UND* 0000000000000000 pam_start@@LIBPAM_1.0

Tested: Searched objects for undefined pam calls
and found the information above.
Change-Id: I44aa570a2087affafba09886fbf17fa9d99abe05
Signed-off-by: Patrick Venture <venture@google.com>
2 files changed