[Git][ghc/ghc][wip/9.10.3-backports] 23 commits: perf: Replace uses of genericLength with strictGenericLength