isl_space_match: rename "dim" arguments to "space"