[PATCH 6.6 070/638] workqueue: Factor out pwq_is_empty()