Force callback for non self-issued trust anchors

OpenSSL "bug" work-around.  When the top chain cert is not
self-signed, it is not reported to the verify callback.

Remove calls to deprecated thread interfaces in ssl_dane_test.c.