Do a 32-bit compare on RGBA values.  Thsi should be inlined in optimized builds.