gromacs: migrate from Homebrew core

Requested in https://github.com/Homebrew/homebrew/issues/29853.