Use g_strndup instead of strndup in asyncns.c, fixes LM-129
Switched to use g_strndup and remove the internal version of strndup from
asyncns.c. Fixes problem where strndup exists.
Mikael Hallendal <micke@imendio.com>Dafydd Harries <dafydd.harries@collabora.co.uk>Senko Rasic <senko.rasic@collabora.co.uk>