Filter out GHC.Prim also for the Haddock step