s3:smbd: fix the lockread numtoread calculation depending on the max_send.