Make it possible to disable 16-bit support. Also some consitency fixes.
Morphologic functions: stacked 16-bit input support
Morphologic functions: interleaved 16bit support