Check finiteness in converting grayscale FloatingPoint -> RGB24