Allow compressed vertex color attribute

Add a compile-time option to compress optional vertex color
attributes into a single float, rather than a vector of three floats
(one for each component). The compressed format assumes a precision
of 256 levels per component (corresponding to typical component
precision for textures).

Signed-off-by: Harm Hanemaaijer <fgenfb@yahoo.com>