Fix bug 2694, which crashes when a dimmed color happens to be the same as a previously used color, and didn't get retained by CRunStorage because it used value equality instead of pointer equality.