[CORE] Minor fix in vmm_workqueue_flush() API

Currently, we are only wakeing-up workqueue thread once in the
vmm_workqueue_flush() API but for correct working we should
keep waking-up workqueue thread till work list is empty.

Signed-off-by: Anup Patel <anup@brainfault.org>