ghc-9.4.1-rc1 does not install on macos
## Summary
Write a brief description of the issue.
ghc-9.4.1-rc1 does not install on macos
## Steps to reproduce
install with:
```
./configure
sudo make install
```
this gets an error:
```
"libHSterminfo-0.4.1.5-ghc9.4.0.20220721.dylib" cannot be opened because the developer cannot be verified
```
## Expected behavior
What do you expect the reproducer described above to do?
I expect it not to get an error.
## Environment
Intel Mac on os 12.5
* GHC version used: 9.4.1-rc1
Optional:
* Operating System:
* System Architecture:
issue