cuda.c: copy_arrays_from_device: rename "dim" variable to "space"
cuda.c: copy_arrays_from_device: rename "dim" variable to "space"

Signed-off-by: Sven Verdoolaege <e5350bbed4977f5eb8ae1dc6abd9ae59d21ace75@kotnet.org>

Meinersbur/ppcg,nicolasvasilache/ppcg,Meinersbur/ppcg,nicolasvasilache/ppcg