ministat: Consistently use item count as the first argument to calloc
Reported by: GCC 14 -Wcalloc-transposed-args
Reviewed by: rlibby, emaste
Differential Revision: https://reviews.freebsd.org/D46011
(cherry picked from commit a971c60456223b22c0b3c557d712b36660dbcff9)