kernel: fix stripping of modules with duplicate symbol names