Fixed processing of instantiated vars in OpenMP clauses

bf4dfbbfc3312fe005544beb3d8346c043389a97 by Alexey Bataev.
Fixed private vars codegen

dfaf9166a4dcc79ce3705fd9076a489b71c5018c by Alexey Bataev.