winbind: Fix some missing NULL checks