Use GCC __builtin_inff() for V8_INFINITY.
Use GCC __builtin_nanf() for NAN on AIX.