x86, efi, kasan: Fix build failure on !KASAN && KMEMCHECK=y kernels