[SSSD] [sssd PR#5735][comment] util: Avoid an extern variable by using sss_chain_id_get()