(Hevc/WeightedPred): Fixing bug with offset value.