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

Xamarin bug [#24891](https://bugzilla.xamarin.com/show_bug.cgi?id=24891)