Make nan values detection case insensitive

`NaN` value detection was case sensitive, it is now case insensitive.
The [boost header](https://github.com/PointCloudLibrary/pcl/blob/master/io/include/pcl/io/boost.h#L65) for this function is already included.

#1003