An Italian investigative journalist said he was the target of a spyware attack disclosed by WhatsApp.