zram: avoid invalid memory access in zram_exit()