chmlib: Support Apple Silicon (#92888)
chmlib: Support Apple Silicon (#92888)

* Support Apple Silicon
* update the license to LGPL-2.1-or-later
* add test do block
chrisfinazzo/homebrew-core,cblecker/homebrew-core,makigumo/homebrew-core,nbari/homebrew-core,makigumo/homebrew-core,nbari/homebrew-core,stgraber/homebrew-core,sjackman/homebrew-core,stgraber/homebrew-core,mfikes/homebrew-core,zyedidia/homebrew-core,sjackman/homebrew-core,Homebrew/homebrew-core,cblecker/homebrew-core,filcab/homebrew-core,chrisfinazzo/homebrew-core,uyjulian/homebrew-core,mfikes/homebrew-core,Homebrew/homebrew-core,adam-moss/homebrew-core,uyjulian/homebrew-core,lemzwerg/homebrew-core,nandub/homebrew-core,zyedidia/homebrew-core,adam-moss/homebrew-core,lemzwerg/homebrew-core,nandub/homebrew-core,filcab/homebrew-core