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.
This caused a crash in pcl_viewer and other examples based on pcl_visualization on Windows with VS2012.