Track type signature change of lookupModuleInAllPackages

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
If GhcProfiled, also build Haddock profiled.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>