libwinpr-pool: improve Windows implementation