zram: Fix deadlock bug in partial read/write