Move index ‘i’ check after usage
Move index ‘i’ check after usage

Silences cppcheck warning.  Might have been a
false positive, but there’s no behaviour change.

Change-Id: I147eadb054d4cde44012fd8e8b9eb5e739eef6ad

candy7393/VTK,jmerkow/VTK,sankhesh/VTK,msmolens/VTK,mspark93/VTK,sumedhasingla/VTK,SimVascular/VTK,candy7393/VTK,SimVascular/VTK,sumedhasingla/VTK,gram526/VTK,jmerkow/VTK,gram526/VTK,SimVascular/VTK,SimVascular/VTK,sumedhasingla/VTK,candy7393/VTK,sankhesh/VTK,demarle/VTK,jmerkow/VTK,sumedhasingla/VTK,gram526/VTK,mspark93/VTK,candy7393/VTK,gram526/VTK,mspark93/VTK,SimVascular/VTK,msmolens/VTK,mspark93/VTK,msmolens/VTK,msmolens/VTK,SimVascular/VTK,gram526/VTK,sankhesh/VTK,candy7393/VTK,demarle/VTK,sankhesh/VTK,sumedhasingla/VTK,jmerkow/VTK,sumedhasingla/VTK,mspark93/VTK,candy7393/VTK,msmolens/VTK,demarle/VTK,demarle/VTK,sankhesh/VTK,keithroe/vtkoptix,gram526/VTK,sumedhasingla/VTK,sankhesh/VTK,jmerkow/VTK,demarle/VTK,mspark93/VTK,msmolens/VTK,gram526/VTK,msmolens/VTK,demarle/VTK,keithroe/vtkoptix,sankhesh/VTK,keithroe/vtkoptix,gram526/VTK,jmerkow/VTK,demarle/VTK,sankhesh/VTK,demarle/VTK,candy7393/VTK,SimVascular/VTK,keithroe/vtkoptix,mspark93/VTK,sumedhasingla/VTK,SimVascular/VTK,keithroe/vtkoptix,candy7393/VTK,jmerkow/VTK,keithroe/vtkoptix,msmolens/VTK,jmerkow/VTK,keithroe/vtkoptix,keithroe/vtkoptix,mspark93/VTK