On Posix there is no realloc for aligned memory, so alignedReallocate emulates
the needed behavior by using alignedAllocate to get a new block. The existing
block is copied to the new block and then freed.
On Windows, calls __aligned_realloc(b.ptr, newSize, a).
On Posix there is no realloc for aligned memory, so alignedReallocate emulates the needed behavior by using alignedAllocate to get a new block. The existing block is copied to the new block and then freed. On Windows, calls __aligned_realloc(b.ptr, newSize, a).