Android does not have posix_memalign()

Change-Id: I4cd2f1e41b3bcab0d87a7b353d63c04b20aad492