COMP: Copy-paste error

CID 1103106 The copied code will not have its intended effect.

In test_regiongrowKLM1D(): A copied piece of code is inconsistent with
the original

Change-Id: I3175b882c264255427217c9351b30b326b818a3a
Merge topic 'Coverity_itkRegionGrow2DTest'

4733855 COMP: Copy-paste error