Support to set thread name in ThreadUtil

Netd resolver uses ThreadUtil to create lookup threads.
This change facilitates DNS debugging by means of appending
uid to the thread name.

MDnsSdListener monitor thread is renamed to MDnsSdMonitor.

Bug: 128404051
Test: cd systen/netd && atest
Change-Id: I7ea2edef3f1eb0fffe8ea00fb7b281dac7b7ef2e
3 files changed