dev-vcs/darcs: backport tests building on ghc-7.8

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>