Do not use posix_memalign and fdatasync on Android

- Added __ANDROID__ macro for those functions.