Add recommended before_script to DIND fragment
Our CI "docker in docker" fragment (https://gitlab.developers.cam.ac.uk/uis/devops/continuous-delivery/ci-templates/-/blob/master/fragments/docker-in-docker.yml?ref_type=heads) aligns mostly with our documented recommendation but omits the optional before_script.
Since the script is optional but beneficial, add it to the fragment.