Fix real to vpiIntVal conversion in run time
Fix $rtoi to correctly convert NaN and +/- infinity
Rework constant system function code and add $rtoi and $itor