Fix debug handling in libsmbclient.c.