OCL: replaced localThreads by NULL in some ocl algorithms