Fix VHDL code generator crash when code contains a real-valued parameter.
Fix VHDL code generator crash when a ternary operator has a real operand.