pthreadpool: add pthreadpool_tevent_max_threads() and pthreadpool_tevent_queued_jobs()