configure: Add --disable-pam and deprecate --enable-nopam

Use simple logic for PAM control to avoid confusion and double
negations. Keep --enable-nopam deprecated for backwards compatibility.
configure: Ensure PKG_CONFIG before querying systemd unit path

Use PKG_PROG_PKG_CONFIG to ensure that $PKG_CONFIG is set before it is
used to query the systemd unit install path.