[SSSD] [sssd PR#977][synchronized] sss_ptr_hash: internal refactoring