common/hooks: ignore XBPS_ARCH when cross building.