Fix a calloc call with correct binary size.