BitVector: Extend interface of setBit to set it to a specific value. (#5173)