Simple DeepImageConverter fixes.

Added a sanity check to IECore::DeepImageConverter.
Fixed an off-by-one bug.