brew.rb: drop constant reassignment

Closes #18807.