Pop star Katy Perry has visited an eight-year-old girl who was forced to miss a concert because of surgery.