minor cleanup, fixed blown pointer

cleaned up to compile on gcc 4.4.4
fixed blown null pointer in KSTAT_DATA_STRING handling