Actually it is libavif provides a gdk-pixbuf loaders to let it support avif, could you try to install package `gdk-pixbuf-loader-libavif` or `gdk-pixbuf-loader-libheif` and then try to open AVIF files with EOG again?