Add CI for some supported OS with an old GCC
To avoid recurrences of bugs like #40410 (closed), let's make sure that we have a CI builder that is using some distribution with an older version of GCC. I'm not sure how old we'd want exactly.
Tentatively assigning to @ahf.