OpenMP: Fixed unspecified behavior for operations using reductions.

Resolves #112 (together with previous commit).