workqueue: consider work function when searching for busy work items

https://github.com/neobuddy89/hammerhead/commit/1e8d2a619d2f2686eeb6fd6c57df50da33fd66e9