Fix order of calloc call

Although the original version works as expected, the argument order should be changed to calloc's signature:
void* calloc (size_t num, size_t size);
http://www.cplusplus.com/reference/cstdlib/calloc/