Use calloc instead of malloc.

This avoids a crash on 64 bit due to using malloc instead of the
GC. This is a temporary fix to a temporary fix as we will switch
back to the GC interfaces soon.