Make Convert<double>.FromObject return NaN for undefined

Returns NaN for other numeric types as well if the value is undefined