MINOR: tasks/debug: add a BUG_ON() check to detect requeued task on free

__task_free() cannot be called with a task still in the queue. This
test adds a check which confirms there is no concurrency issue on such
a case where a thread could requeue nor wakeup a task being freed.
1 file changed