kasan: only build init.c for software modes