[NFC][flang][OpenMP] Extract target region utils to map or clone outside values
Following up on #154483, this PR introduces further refactoring to
extract some shared utils between OpenMP lowering and `do concurrent`
conversion pass. In particular, this PR extracts 2 utils that handle
mapping or cloning values used inside target regions but defined
outside.
Later `do concurrent` PR(s) will use these utils.