corrected possible aliasing in posix_memalign use