Fix order of calloc arguments.
(Patch by Dawid Gajownik)