Add mono_threads_core_set_name() on Mac.

5e0579782e13c8093ff9b58307ea8a3f3fa09726 breaks build on Mac.