ICS writer: fix support for writing RGB images

Reported by Harri Jäälinoja:

http://lists.openmicroscopy.org.uk/pipermail/ome-users/2013-February/003529.html