OFString: Manually handle NaN

strtod() on HP-UX does not accept NaN.