HPCC-12035 Implement portable j_isnan() and j_isinf() functions

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>