libsmbclient: Wrap more function calls in talloc_stackframe() to protect against talloc_tos() calls

see https://bugzilla.samba.org/show_bug.cgi?id=8449
Merge pull request #3160 from stefansaraev/samba

libsmbclient: Wrap more function calls in talloc_stackframe() to protect...