Update registration example with ITK4.3.1.

Fix compiling error in registration exercises.