net: dns: initialize dispatcher context mutex on register

dns_socket_dispatcher.lock was used without k_mutex_init(), which
fails once CONFIG_ASSERT mutex checks are enabled (e.g. mDNS tests).

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
1 file changed