xclient: remove zmalloc dependency, use default malloc function