BUG: ImageToImageFilter different Input2 pixel type does not stream. #3214

If the second input image to an ImageToImageFilter has a different pixel type
than the first input image, then GenerateInputInformation does not copy
information correctly, and the filter will not stream.  This is attributed to
a bug in the dynamic_cast to Image< PixelType, Dimension > * instead of ImageBase<
Dimension > *.

A test is created that verifies correct behavior.

Suggested-by: Charles Peyrega <charles.peyrega@gmail.com>

Change-Id: I52f4add1b13d0f2d2eadce92e5e9743d812ef6f2
Merge topic 'GenerateInputRequestRegion-ImageBase'

300090e BUG: ImageToImageFilter different Input2 pixel type does not stream. #3214