[OPENMP] Do not capture private variables in the target regions.

Private variables are completely redefined in the outlined regions, so
we don't need to capture them. Patch adds this behavior to the
target-based regions.

llvm-svn: 320078
GitOrigin-RevId: 8cf35e46831800cf173935fbb8fb2285c690902e
6 files changed