workqueue: add is_workqueue_empty() api
This is needed when you want to perform work in one worker thread
context but have a synchronization point in another thread context
where you need to know if all the works queued to the workqueue for
the worker thread have finished execution.