Update util.c: change malloc+memset to calloc.

Trivial change.