Export sumabs and sumabs2

Fixes #7032
Merge pull request #7612 from JuliaLang/sjk/sumabs

Export sumabs and sumabs2