Rework for calloc_aligned; use calloc for calloc_aligned memory allocation when posix_memalign not supported.