Use cork_calloc in _init

We use cork_calloc() instead of calloc() since the former will abort
the program for us if memory allocation fails.