Merge "C2SoftFlacEnc: Fix integer overflows" into main