Support AppStream metadata formats where the icon extension is not specified

This makes gnome-software work much better with metadata from SUSE.
Long term the metadata format needs to be nailed down tighter.