Add an error to check that all program scope variables are in the constant address space in OpenCL.