[OpenMP] Add taskgraph regression test for out-of-line task replay deadlock
Adds a regression test for a taskgraph deadlock that occurred when
non-replayable tasks were encountered during taskgraph recording --
not lexically nested within the taskgraph construct.
Assisted-By: Claude Opus 4.8
Pull Request: https://github.com/llvm/llvm-project/pull/216328