prevent int32 multiplication overflow

prevent overflow in multiplication.
This needs modify SHA-1 values in tests.
see:
https://rbcommons.com/s/OpenH264/r/534/