ColortableImageRequest: Added an assert to check array dtype.