gitlab-ci: Use "needs" keyword to specify dependencies

This allows them to run as soon as the dependency is fulfilled, before
the previous stage has been completed.
12 jobs for master
in 11 minutes and 26 seconds, using 0.0 compute credits, and was queued for 1 second