nbd: Fix NULL pointer in flush_workqueue