Removed impossible condition

If $this->curl would be true-ish when entering this method it would enter inside the first conditional block and inside $this->close will be set to null. Then when checking the second condition, that I removed, it will always logically evaluate to false.
Merge branch 'cleanup/#6850-remove-dead-code-in-zend-curl-adapter' into develop

Close #6850