scan.cc: scop_add_array: rename "dim" variable to "space"