(HEVC/Research) Replace division by shift.