kernel: Remove orphaned externs.