workqueue: fix data race with the pwq->stats[] increment