[MacPorts] #50821: Python: Fix building for strange architecture combinations