Fix GSSAPI initialization memory leak on error

Here is a patch from Simo which he mentioned on IRC a few days ago.  I think it is correct, but needs:

* to address the same problem in GSS_ADD_DYNAMIC_METHOD
* a better commit summary