Check ReadPreference object on ReplSet.canRead

`ReplSet.prototype.canRead` can be called with a `ReadPreference` object instance (for example: https://github.com/mongodb/node-mongodb-native/blob/1.4/lib/mongodb/db.js#L1745)

This ensures that the object is checked correctly.