Fix a segfault in the mongocollection-find_error-001.phpt failover test

When the server doesn't work, we need to unregister it from the manager,
otherwise we keep a dangling pointer to it, and crash when we try to
locate servers to use.

Also fix invalid read, using the wrong error variable on error