expat: align with macOS formula (#21931)
expat: align with macOS formula (#21931)

* expat: align with macOS formula

* expat: check if not mac instead of if linux
Linuxbrew/homebrew-core,Linuxbrew/homebrew-core