PHP-1231: PHP crashed when using selectCollection inside a Generator

https://jira.mongodb.org/browse/PHP-1231
Since we're not using zpp to check arguments here, would it be wise to add a `Z_OBJCE_P()` sanity check to ensure this is a MongoClient object?