Make haddock-internal a build dependency

The haddock-internal resources directory is required during the build of ghcjs.