Move head-only brews to homebrew-headonly.

Also move google-js-test which depends on head-only re2.

Closes #17665.