gitlab-ci: Use versioned gcc:9 image for builds.

Use a versioned gcc container image as the base for more
repeatable results. The version will need to be bumped
periodically.

Also reformat to follow current recommendations by moving
the contianer image and tags under the `default` key.

Signed-off-by: Marvin Scholz <epirat07@gmail.com>
1 job for master in 1 minute and 27 seconds (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Build
passed #10716
docker
build

00:01:27