efi_loader: reimplement LocateDevicePath