Title: #508: Fix/suppress few gcc8 warnings
There's a failure on rawhide, but it's been happening for a while and is not
related to this patch.
I am sorry it took so long to ack it and I guess my message on #sssd was missed.
See the full comment at https://github.com/SSSD/sssd/pull/508#issuecomment-365191230