Don't use a potentially expensive shift if all we want is one set bit.

No functionality change.