Fix warning about negative unsigned intergers

Reviewed-by: Richard Levitte <levitte@openssl.org>