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
1 file changed