[PATCH v2 26/28] efi_bootmgr: Avoid casts in try_load_from_uri_path()