Merge "Fix overflow in calculating highbd SSIM"