Implement set/formatThreadName for Darwin. (dm)