workqueue: fix pool ID allocation leakage and remove BUILD_BUG_ON() in init_workqueues