[msan] Relax gethostbyname_r test condition.

Apparently, its return value depends on the glibc version.