X86: Don't turn shifts into ands if there's another use that may not check for equality.

Fixes PR19964.