[PATCH openEuler-5.10 24/99] riscv/efi_stub: Fix get_boot_hartid_from_fdt() return value