Fix default loader.

getDefaultProps is called before InfiniteScroll is defined,
causing a runtime error. Additionally, specifying it in default
props makes it impossible for setDefaultLoader to be called before
the value is "frozen" in place.