Rewrite ColorKeyMask. Both MMX and SSE2.