Remove unnecessary casts from malloc() and XFree() calls

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6 jobs for misc in 1 minute and 28 seconds (queued for 1 second)