sundials: migrate from Homebrew core

Requested in https://github.com/Homebrew/homebrew/issues/29678, https://github.com/Homebrew/homebrew/issues/29851, https://github.com/Homebrew/homebrew/issues/29879, and https://github.com/Homebrew/homebrew-science/issues/929.