Was using AMD CPU platform to get things compiled here, but similar issues
were happening with Intel OpenCL as well.
Don't currently have access to Intel OpenCL to verify that, but while this
patch solves compilation error for AMD CPU platform it still is behaving
really flackey -- sometimes rendering will just stuck or render emptiness.
Doesnt' seem to be issue with the patch since CUDA Split, NVIDIA OpenCL
Split and AMD OpenCL split are still rendering things correctly here.
This patch might also fix compilation error with older OpenCL drivers on
Linux, but with those we can not guarantee anything.