Optimize openCL version of reduce function
Change buffer cols count from 64 to 32
fix code in the kernel
Fix some errors
Merge pull request #2778 from vbystricky:oclopt_reduce