carthage 0.3.1 (new formula)

Closes #34807.
carthage: add 0.3.1 bottle.