[SSSD] [PATCHES] Another batch of fixes for bugs found by Coverity