Bug 569752 - don't record stacks for Colors

Avoids some unneeded overhead, since Color's aren't tracked.

Change-Id: I54565a1603f830643471cbdb11b1b36fbb9f5a09
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/Resource.java b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/Resource.java
index ffce5e0..43c49f1 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/Resource.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/Resource.java
@@ -113,7 +113,7 @@
 	if (device == null) device = Device.getDevice();
 	if (device == null) SWT.error(SWT.ERROR_NULL_ARGUMENT);
 	this.device = device;
-	if (collectAllocationStacks) {
+	if (collectAllocationStacks && !(this instanceof Color)) {
 		allocationStack = new NonDisposedException();
 	}
 }