Remove unused variable in reduce_on_gpu() kernel