[ValueTracking] refactor: extract method haveNoCommonBitsSet