efi: fix returned length of efi_get_variable()