libcgc: Scalar write-mask

Scalar operations expands it's result to a vec4, and has a separate
field for the write-mask for the expanded result.

Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>