Fixed a bug in OpenCL implementation of CustomGBForce
Same bug fix as the previous commit, but for CUDA
Merge pull request #282 from peastman/master

Fixed a bug in CustomGBForce