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.
Merge pull request #1176 from AnalyticalGraphicsInc/geometry-memory-pressure

Fix GeometryInstanceAttribute memory pressure