I don't think it's gratuitous. It fits in with the themes of the book, namely that misogynistic societies are horrible places to live, especially when they're as torn by war as Westeros is. Now Sword of Truth, there's a series with gratuitous use of rape.