Remove the spout. Depending on how big the clearance is around the pipe coming out of the wall, you should fill it with caulking or plumbers putty. Then put the spout on. You can try to seal the edge of the spout to the tile with caulk. It takes a little patience to get a neat job here, but it is worth the trouble.