Fix isinf() for Solaris in cmsgpack