gost2814789t.c: portability fixes.