Fix OpenCL C target regression from SPIR modifications

Hello,

This pull request should fix the OpenCL C regression caused by the SPIR target. The issue was caused by me removing the clSetKernelArg call for the local memory parameter, which I've now added to SPIR kernels.

It also updates the CMake build for new files.