[corlib] Fix Parallel.ForEach overload that hardcoded -1 for the item index

Xamarin bug #24891
Merge pull request #1432 from akoeplinger/parallel-fix

[corlib] Fix Parallel.ForEach overload that hardcoded -1 for the item index