[PATCH] x86: fix EFI memory map parsing