[GHC] #15131: Speed up certain Foldable NonEmpty methods