Supplement the condition for strerror_r in bionic

The current condition assumes that bionic is used for only android
device target, but it can be host target as well.
So to support an android host target using bionic instead of glibc,
supplement the condition for strerror_r as the condition in strings.h
in bionic.
(cherry-picked from crrev.com/c/2738587)

Test: build libchrome for linux_glibc, linux_bionic, android_bionic
Bug: b/181203470
Change-Id: Id4bec947ecb90c06c47db2cc77b721041b1931d9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2738587
Reviewed-by: François Doray <fdoray@chromium.org>
Reviewed-by: Albert J. Wong <ajwong@chromium.org>
Auto-Submit: Jeongik Cha <jeongik@google.com>
Commit-Queue: Jeongik Cha <jeongik@google.com>
Cr-Commit-Position: refs/heads/master@{#861445}
1 file changed