openssl: fix headers for universal build
openssl: fix headers for universal build

opensslconf.h is different depending on the architecture for which it is
built. Previously, universal builds installed only one version of the
header, which was wrong for one of the architectures. This uses #ifdef
magic to make sure that the correct version of the header is used for
the target against which client software is building.

https://langui.sh/2016/01/03/universal-libraries-but-not-headers/
illustrates this bug causing problems in the wild.

Closes Homebrew/homebrew#47652.

aren55555/homebrew-core,spaam/homebrew-core,aabdnn/homebrew-core,zmwangx/homebrew-core,kuahyeow/homebrew-core,wolffaxn/homebrew-core,FinalDes/homebrew-core,lasote/homebrew-core,dsXLII/homebrew-core,tkoenig/homebrew-core,zyedidia/homebrew-core,mvitz/homebrew-core,nandub/homebrew-core,Homebrew/homebrew-core,moderndeveloperllc/homebrew-core,nbari/homebrew-core,robohack/homebrew-core,jabenninghoff/homebrew-core,ilovezfs/homebrew-core,gserra-olx/homebrew-core,FinalDes/homebrew-core,chrisfinazzo/homebrew-core,lemzwerg/homebrew-core,phusion/homebrew-core,lembacon/homebrew-core,lasote/homebrew-core,ylluminarious/homebrew-core,uyjulian/homebrew-core,straxhaber/homebrew-core,bigbes/homebrew-core,jvillard/homebrew-core,mfikes/homebrew-core,fvioz/homebrew-core,kunickiaj/homebrew-core,tkoenig/homebrew-core,bcg62/homebrew-core,maxim-belkin/homebrew-core,git-lfs/homebrew-core,adamliter/homebrew-core,ShivaHuang/homebrew-core,moderndeveloperllc/homebrew-core,Homebrew/homebrew-core,kuahyeow/homebrew-core,Moisan/homebrew-core,mbcoguno/homebrew-core,sdorra/homebrew-core,j-bennet/homebrew-core,reelsense/homebrew-core,lembacon/homebrew-core,jvehent/homebrew-core,lemzwerg/homebrew-core,zyedidia/homebrew-core,grhawk/homebrew-core,battlemidget/homebrew-core,sjackman/homebrew-core,edporras/homebrew-core,stgraber/homebrew-core,jdubois/homebrew-core,jdubois/homebrew-core,git-lfs/homebrew-core,jvillard/homebrew-core,jvillard/homebrew-core,edporras/homebrew-core,DomT4/homebrew-core,nbari/homebrew-core,mfikes/homebrew-core,JCount/homebrew-core,reelsense/homebrew-core,kunickiaj/homebrew-core,JCount/homebrew-core,andyjeffries/homebrew-core,adam-moss/homebrew-core,jabenninghoff/homebrew-core,mvitz/homebrew-core,rwhogg/homebrew-core,BrewTestBot/homebrew-core,fvioz/homebrew-core,bcg62/homebrew-core,bigbes/homebrew-core,LinuxbrewTestBot/homebrew-core,Moisan/homebrew-core,rwhogg/homebrew-core,makigumo/homebrew-core,passerbyid/homebrew-core,bfontaine/homebrew-core,forevergenin/homebrew-core,spaam/homebrew-core,bfontaine/homebrew-core,mvitz/homebrew-core,grhawk/homebrew-core,dsXLII/homebrew-core,chrisfinazzo/homebrew-core,mvbattista/homebrew-core,bcg62/homebrew-core,robohack/homebrew-core,straxhaber/homebrew-core,wolffaxn/homebrew-core,uyjulian/homebrew-core,aabdnn/homebrew-core,j-bennet/homebrew-core,zmwangx/homebrew-core,aren55555/homebrew-core,Linuxbrew/homebrew-core,cblecker/homebrew-core,BrewTestBot/homebrew-core,LinuxbrewTestBot/homebrew-core,mbcoguno/homebrew-core,andyjeffries/homebrew-core,filcab/homebrew-core,wolffaxn/homebrew-core,Linuxbrew/homebrew-core,jdubois/homebrew-core,jvehent/homebrew-core,forevergenin/homebrew-core,mahori/homebrew-core,ylluminarious/homebrew-core,cblecker/homebrew-core,maxim-belkin/homebrew-core,battlemidget/homebrew-core,gserra-olx/homebrew-core,smessmer/homebrew-core,mvbattista/homebrew-core,sjackman/homebrew-core,ilovezfs/homebrew-core,passerbyid/homebrew-core,lembacon/homebrew-core,smessmer/homebrew-core,nandub/homebrew-core,stgraber/homebrew-core,mbcoguno/homebrew-core,filcab/homebrew-core,ShivaHuang/homebrew-core,phusion/homebrew-core,DomT4/homebrew-core,makigumo/homebrew-core,adamliter/homebrew-core,sdorra/homebrew-core,mahori/homebrew-core,adam-moss/homebrew-core