Do not use a dynamically allocated buffer to store the structure
used to pass random bytes to the kernel. The maximum size is
known in advance, so we can use a buffer allocated on the stack.
We can thus get rid of the xmalloc wrapper, which was only used
for that allocation.