make color masks always uint32s (as in the C API)