JSON API: change the way we call the sharing method

`$sharing = ( new Sharing_Service() )->get_global_options();` is not compatible with PHP 5.2

```
PHP Parse error:  syntax error, unexpected T_OBJECT_OPERATOR in /wp-content/plugins/jetpack/json-endpoints/class.wpcom-json-api-site-settings-endpoint.php on line 159
```