Hide infinite-scroll class if the option is disabled

The [Jetpack support page](http://jetpack.me/support/infinite-scroll/) says that the infinite-scroll class should be used in a theme to hide the navigation links. However, even when disabled in the Reading page, the class is still visible and the CSS is applied just as if the scroll is enabled.

Adding an option check before filtering the `body_class` classes.