Use the correct task instance in cdbq cleanup, initialization and
dequeue tasks to avoid cdbq being deleted when dequeue task is
running

Closes-Bug: #1349731
Change-Id: Ia31ba91f46d3b48c697ccf4c937516ac1642b968
(cherry picked from commit 607baeb462f71b51e1fb9cf9751566216ebcf9ea)
Merge "Use the correct task instance in cdbq cleanup, initialization and dequeue tasks to avoid cdbq being deleted when dequeue task is running" into R1.10