libpwquality: Fix bug with incorrect linking and issue with _pam_parse...
libpwquality: Fix bug with incorrect linking and issue with _pam_parse (replace internals with pam helper function)
Fixes !12608 (merged) Patch developed by team using the software on servers, thus should be stable.