namespace.c: Fix 'kernel_dev' and 'kernel_type' uninitialized warnings