Very little
In comparison, center channel speakers are basically chopped off towers on their sides. They sound great on their sides. I wouldn't lose sleep over the fact your bookshelves are on their sides. Speaker drivers are round, and their dispursion won't change. What's more important is the port. If they are ported (bass reflex), you'll need ample space behind the speaker. Positioning is also a factor. Angle them in too much, and you'll lose the sweet spot. The closer to ear level you can get the tweeter, the better the sweet spot will be. If sideways placement of the bookshelves brings the tweeter closer to ear level, you are that much closer to perfecting the almost impossible speaker placement issue.