OCL: fixed error in setting kernel arguments (CL_INVALID_ARG_SIZE)