[asan] Replace posix_memalign with memalign in test.

Android does not provide posix_memalign.