Merge "vp9 encoder: fix some integer overflows" into main