kernel: fix scheck errors (mostly UnusedExport)