cbs_h265: Fix ranges of prediction weight offsets