Fix vhdl_expr::cast when expression has no assigned type
Fix vhdl_expr::cast when expression has no assigned type

This avoids a couple of segfaults

CastMi/iverilog,themperek/iverilog,themperek/iverilog,CastMi/iverilog,themperek/iverilog,CastMi/iverilog