COMP: Fixed const correctness for new ITK

A missing const correctness was found in ITKv4
that needed to be done.