[flang][OpenACC] Record loop locations for `acc.loop` without bounds (#248060)
Loop locations were collected while processing loop bounds or
privatizing induction variables. An `acc.loop` lowered without bounds
from a `DO CONCURRENT` or a `DO WHILE` therefore got an `#acc.loop_loc`
with an empty loop list. That list printed as `loops = >`, which does
not parse, so printing such IR with debug information and reading it
back failed.
Collect the loop locations in one place for both cases: one location per
`DO` in the nest, or the location of the `DO` statement of a `DO
CONCURRENT` or `DO WHILE`.
Assisted-by: Claude Code (Claude Opus 5.5)