NN-10534: Replace acquia_connector_get_platform with SpiController->getPlatform.