[4.8] Fix ARM GCC fail to links code using 64-bit atomic built-in

For ARM w/o dmb a helper function is called for 64-bit atomic
built-in, which call __write when helper version is too old.
Change to call write instead for Android.

See http://code.google.com/p/android/issues/detail?id=41297
e42abc641966570528522d61ba625e926e979ac7

Change-Id: I15498b73eebdbd5f4d62aafa943290ca341378bb

Author: Andrew Hsieh <andrewhsieh@google.com>
Date:   Tue Apr 2 19:38:54 2013 +0800
[4.8] Patch GCC libstdc++ to work with Clang in C++11

See http://clang.llvm.org/cxx_status.html
    http://code.google.com/p/android/issues/detail?id=39600
    https://android-review.googlesource.com/#/c/47836/
    1e4edc8addf7fc21d821e64cc81d85315561bcd9

Change-Id: Ibbc2ed2bf665bbdd9529e6d962312b10a0da320f

Author: Andrew Hsieh <andrewhsieh@google.com>
Date:   Tue Apr 2 19:40:11 2013 +0800