[PATCH 6.10 116/273] kbuild: refactor variables in scripts/link-vmlinux.sh