[PATCH v4 24/25] efi_bootmgr: Avoid casts in try_load_from_uri_path()