Apple’s grip on iPhone app distribution is loosening in another major market: Brazil.