Cirrus-CI: switch GCC job to GCC 12
We need a C++20 or later compiler.
Sponsored by: The FreeBSD Foundation