Explicitly set docdir when building docs

This avoids problems when different Cabal versions have different defaults
(cabal 1.16 vs 1.18, for instance).