The iPhone security flaw was discovered by a Google unit that uncovers nation-state spyware, hacking and cyberattacks.