Support serializing ImageData object colorSpace property in SerializedScriptValue