Fixed some compilation errors & warnings
Added small stub for kmalloc stat structure