Two more Haddock module attribute syntax updates

Sorry, the first time I submitted a pull request on this (#1153), I only checked Cabal, not cabal-install.