isl_flow.c: avoid accessing dim field directly