s3-libsmb: use struct gensec_security directly