x86: efi: Format EFI memory type & attrs with efi_md_typeattr_format()