systat(8): Remove some orphaned extern declarations.
kernel: Remove some orphaned extern declarations in sys/platform.

Also a no longer used kmalloc type.