BUG: incorrect loop var increment

Change-Id: Id339d230d6c2962f7bce59d2a074e3d1bc6ab261
Merge topic 'DCMTKFILEReaderBug'

bb092d2a BUG: incorrect loop var increment