ci: install dependencies with dnf5
It seems that the current Fedora rawhide image comes with /usr/bin/dnf, but during the first system update dnf deletes itself and we're left with only dnf5.
This fixes the CI (except for preexisting test flakiness).