This is just a clean-up after https://llvm.discourse.group/t/rfc-linalg-indexed-genericop-unification/3375 was implemented.
Now, if one needs to access ivs inside linalg.generic, it is possible to use %iv_dim = linalg.index <dim> : index operation in the body region.