[openEuler-5.10 107/303] kbuild: Fix 'no symbols' warning when CONFIG_TRIM_UNUSD_KSYMS=y