fix crash on double pam handle free

fixes sddm/sddm#145