Rich Riley, chief executive officer of Shazam Entertainment Ltd., discusses billionaire Carlos Slim’s $40 million investment in the company and the outlook for expansion beyond its song-recognition software into television and other second-screen based applications. Riley, who is in San Francisco…