Mark the shutdown hook test as requiring a GUI

Thanks, Jeremi Jenkins!

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>