Revert "workqueue: use new hashtable implementation"

This reverts commit 041611e49853fa6ec7ce81f69732171172725d2b.