cluda/cuda: fixed typo in Thread.array()