ENH: Avoid use of cast in ImageToImageMetricV4

use function overload and templates to
avoid casting Point types in TransformAndEvaluatePoint.

Change-Id: I650d5278914c26401465ce445177e24e09433fc9