(Hevc/WeightedPrediction): Fixing some bugs and updating se with HM-10.0.