OCL: replaced localThreads by NULL in some ocl algorithms

check_regression=*