Fixed scripting function Strtod() to actually work.

Return type is v_real, but the value from strtod() was being stored to .ival instead.