tests: Remove unused code in gtk-reftest

https://bugzilla.gnome.org/show_bug.cgi?id=737123