winbindd: Ensure we do not look at rid_array before checking if it was returned