gitlab-trigger: use hang_detection to reboot the machine if needed
Sometimes, the GPU get hung in a way the kernel cannot recover from. In this case, the only solution is to reboot. This is what this commit will do, up to 2 times per job.
@chturne: I tested this for dEQP and for traces. Seems to work alright!
Edited by Martin Roukala