fixed warnings in gpu modules from VS 2012
Merge pull request #1082 from jet47:gpu-warnings-fix