[OpenMP][Tests][NFC] Work around ICC bug
Older intel compilers miss the privatization of nested loop variables for
doacross loops. Declaring the variable in the loop makes the test more
robust.

GitOrigin-RevId: c93fb143b98ea2035c6fca95241bc5ba40faf97e
1 file changed