Fix build warnings in OpenCL samples