xen, blkback: fix issue with shutdown queue

This commit addresses a bug introduced during the multi-queue port,
that let block threads wait indefinitely on a completion queue for
the device to be released during the shutdown of a guest. The commit
lets the correct number of references be checked for.