efi: add helper function to get UEFI params from FDT