Prevent PLY float color type overflow

If the floating value of a color exceed one or below zero, when converting to colorType, the value would be overflow. This would cause incorrect color in the final point cloud.