src: switch to using strerror_l() instead of strerror_r()
src: switch to using strerror_l() instead of strerror_r()

glibc provides two versions of strerror_r(), which
can be chosen between using feature test macros
_GNU_SOURCE and _POSIX_C_SOURCE. libnl is built using
the former, hence we get the glibc special version,
and all code so far has been written for this.

Other C libraries like musl on the other hand only try
to be posix compliant, and only ever provide the posix
version of strerror_r(), which has a different signature.

Uses in libnl hence generally cause printf() of an *int*
with a *string format* specifier for that reason.

Additionally, strerror_r() has been deprecated:
  http://austingroupbugs.net/view.php?id=655

Switch to using strerror_l().

Signed-off-by: André Draszik <e0f0daa988e7fda0c61a99d2a4c0a9f3a85eb081@tycoint.com>
Reviewed-by: Stephane Ayotte <d4930ebae8ee4c4816487f1ae63340a2aab6c1c7@tycoint.com>
Signed-off-by: Thomas Haller <16e26612e4159990a6b3691e92592e691ff74132@redhat.com>

HolyShitMan/libnl-1,greearb/libnl-ct,greearb/libnl-ct,greearb/libnl-ct,tklauser/libnl,tklauser/libnl,tklauser/libnl,HolyShitMan/libnl-1,tklauser/libnl,dsahern/libnl,dsahern/libnl,thom311/libnl,dsahern/libnl,HolyShitMan/libnl-1,dsahern/libnl,HolyShitMan/libnl-1,thom311/libnl,thom311/libnl