libwinpr-pool: implement WaitForThreadpoolWorkCallbacks