Fix InvariantError due to renderComponentToString signature change on master

https://github.com/facebook/react/blob/master/src/browser/server/ReactServerRendering.js#L32