of_resolve_host(): Place inet_addr() inside mutex