s3:smbd: Add functions calc_max_read_pdu()/calc_read_size() to work out the length...