[PATCH OLK-6.6 4/9] [Backport] workqueue: Factor out work_grab_pending() from __cancel_work_sync()