Add scoped calloc, use it where a calloc was previously used