[SSSD] [PATCHES] Fix even more bugs found by Coverity