s3_cbc.c: fix warning [in Windows build].
s3_cbc.c: get rid of expensive divisions.