thread: add uv_thread_cb typedef

To keep with convention, add a typedef for the function called that
initializes the new thread.