(ir) added a Type#setSize method, which does nothing for bool/void.
Makes it possible to set the size of a type in a generic way.