[3.0.x] bonjour SD: resolve hostname to IP for SMB
The SMB modules cannot do the Bonjour lookup, so resolve the hostname and forward the first IP, which typically is the preferred value.
This fixes vlc-ios#1319 (closed)
(cherry picked from commit 2d52141e, backport of !1725 (merged))
Edited by Felix Paul Kühne