libwinpr-pool: improve thread pool API on Linux