Fix OpenCL build warnings
Merge pull request #338 from taka-no-me:ocl_warnings_master