[PLinq] Avoid cache thrashing of locals array when looping over enumerator