Add explicit (char *) cast to ckalloc calls as tcl86 defines the macro as returning void*