Fix GeometryInstanceAttribute memory pressure

Make `Color.toBytes`, `ColorGeometryInstanceAttribute.toValue`, and `ShowGeometryInstanceAttribute.toValue` take an optional result parameter.  This avoids very costly TypedArray allocations each frame the attribute is modified.