Fix unused variable warnings from malloc_from_chunk()

Signed-off-by: Yunkai Zhang <qiushu.zyk@taobao.com>