meson: install test-kernel-install only when -Dkernel-install=true
This patch fixes the following build failure:
meson.build:3853:8: ERROR: Unknown variable "test_kernel_install_sh".
Fixes #25432.
(cherry picked from commit cc77a56532ddb59770e8312fc1b9954b0b135e72)