zram & zsmalloc: fix code for 2.6.35 kernel

Change-Id: I744ddd9a084300460a29c3706ed84721faef66fe
(cherry picked from commit 769666357c8cdccb8d5e4388b18c4de871f4a742)