Fix minor incompatibilities with WebCL spec