staging: zram: fix invalid memory references during disk write