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.
Merge pull request #136 from harrysummer/patch-1

Prevent PLY float color type overflow