Fix Log2Int type construction

The following case for example, would previously fail:

    const a = u24(1) << Log2Int(u24)(22);
212449bc23Marc Tiehuis committed on 6/6/2018, 10:41:55 AMparentd3693dc
1 file changedLine totals unavailable