[PATCH v8 03/12] x86/efi: Push EFI_MEMMAP check into leaf routines