s3:smbd: remove code duplication in smb2_create_send()