[OPENMP] Code cleanup for capturing of variables in OpenMP regions.

llvm-svn: 236821
5 files changed