Improve uint32color! performance for arrays with a color dimension

The fact that cdim isn't known at compile time was a problem for the previous approach