For loop indices changed to pre-increment

No functional change. All for loop indices changed to pre-increment wherever possible (as in, wherever said index has a pre-increment operator defined) as per Herb Sutter's recommendation.