thread-posix: Use pthread_(get|set)name_np() if available