Correction of OMP_THREADPRIVATE directives due to errors introduced in [8060]. Note that theses directives must be set after the declaration of the variable.