Rewrote update_weight_clip equivalent

Rewrote the equivalent of update_weight_clip in the functions so that
the lighter call (checking if values were equal to 0) was done before
the heavier call (the xor check). This means that for some WavPack files
there should be a very slight speed benefit.