Migrate from javax.imageio.spi.ServiceRegistry to java.util.ServiceLoader