Add Vconst class so Vunit can hold several kinds constants.

Summary: Supports the existing i8 and i64 constants, adds a ThreadLocal
constant type, and fixes a bug in vasm-xls where byte constants
were wrongly cast to bool. (we only used bools for now, so it
wasn't breaking anything yet).

Reviewed By: @jdelong

Differential Revision: D1758662