remove casts from xmalloc()
15 files changed