Upgrade deprecated invocation in `homebrew` task

[ci skip]