Refactoring MONGO_METHOD calls in mongoclient.c and mongo.c

https://jira.mongodb.org/browse/PHP-820 and related sub-tasks
The same here: ```if (link->servers != NULL)```. (and make sure you can rely on link not being NULL.