The "Girls" co-creator says surgery and physical therapy to treat endometriosis caused "the greatest amount of physical pain I've ever experienced."