Make build-openssl follow the same architecture controls as build-cmake
This avoids duplicating OpenSSL in the Qt6 image, which unlike the Qt5 one only supports one target architecture.
This avoids duplicating OpenSSL in the Qt6 image, which unlike the Qt5 one only supports one target architecture.