s3/smbd: add const to get_lease_type() args