London-listed cybersecurity firm Avast is in advanced talks with US rival NortonLifeLock Inc about a merger that would create a clear leader in consumer security software.