Fix VHDL code generator crash when a terneray operator has a real operand.