[Chapel Merge] Update chapel-main.rb to match chapel-release.rb

Branch: refs/heads/main
Revision: 609fe2e4c9baefe172b31826bbc6134cbec2d53b
Author: jabraham17
Link: Update chapel-main.rb to match chapel-release.rb by jabraham17 · Pull Request #28192 · chapel-lang/chapel · GitHub
Log Message:
Update chapel-main.rb to match chapel-release.rb (#28192)

Update chapel-main.rb to match chapel-release.rb, this pulls in upstream
changes from homebrew into our modified homebrew formula

[Not reviewed - trivial]

Compare: https://github.com/chapel-lang/chapel/compare/7ae8ca93c2f63546335d88d6bb1a2b70dc10a7e2...3fd2a619c43aeda003f3d2e58f664216c3685435

Diff:
M util/packaging/homebrew/chapel-main.rb
https://github.com/chapel-lang/chapel/pull/28192.diff