[SSSD] [PATCH] Save errno value before calling DEBUG