zram: fix invalid memory access