smbXcli: split out a smb1cli_req_flags() function