Cherrypick "Handle bionic's strerror_r in an ABI-compatible way."

> The previous fix in r291050 fixed source compatibility but broke ABI
> compatibility with older versions of bionic instead. Since older
> versions of bionic only provide the POSIX version of strerror_r we
> should instead make sure we always use that version.
> BUG=
> Review URL:
> Cr-Commit-Position: refs/heads/master@{#293894}

Bug: 17384482
Change-Id: I91b55784ec64145882d12119a70acde163ea97e3
(cherry picked from commit d74b8cc5c141fa710fc3f7add32b4a7f068a1b35)

Bug: 17644570
1 file changed