zram: fix race between reset and flushing pending work