Fix compile for CUDA and VTK 6 for gpu_people module.

See pull request #824.