netipsec/key.c: Use ANSI C definition for key_random()
(cherry picked from commit 8b000bf5bcddea30e66e0b4e1158e2d7b328b262)