Avoid gcc warnings in sha1_file.c