pet_stmt_from_pet_expr: rename "dim" variable to "space"