Tweak tests/runtests.sh to make it pass for older GHCs

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>