Replaced std::fill_n. This command does not work as intended in VS2012 Release Mode

The std::fill_n command appears to have no effect in VS2012 Release Mode (perhaps it gets optimized away?)
This caused a crash in pcl_viewer and other examples based on pcl_visualization on Windows with VS2012 due to cells with an arbitrary number of points.