Fixed a very silly mistake in SpatialUpSamplingNearest for large cuda tensors.