fix configure detection for pthread_setname_np()

git-svn-id: https://gnunet.org/svn/libmicrohttpd@32872 140774ce-b5e7-0310-ab8b-a85725594a96