Fix format handling

Plugin was always returning CanRead, breaking icon loading in KDE apps, as they were identified as raw.

Also set the format at the right place (cargo-culted from KDE imageio plugins)