hsyslog.nix: add the new doctest dependency

Plus some Cabal magic to make it work older compilers.