[OPENMP, C++11] Improve code of InitVLACaptures function.