Fix build warnings in OpenCL samples
Merge pull request #379 from taka-no-me:fix_ocl_samples_warnings