Bug 894087 - Fix 24-bit color detection. r=Cwiiis