WIP: Some more bugs in ITK are fixed

Note that ANTS is not built successfully yet.
The classes that I mainly work on them are :
- adaptors
- estimators
- resamplers

Change-Id: I846700737074a7904e60c31c5f88512f93b82b2c