x86, efi: Fix display detection in EFI boot stub