better host check code, to determine failing OpenCL kernels on certain (Apple) platforms