Overlay: Resolve undefined behavior
Overlay: Resolve undefined behavior

* Now that we no longer do anything when unloading the overlay DLL,
remove the injection of FreeLibrary. This also drops some undefined
behavior.
** If we inject into rendering (D3Dxx.cpp) we hold a self-reference to
prevent to ever be unloaded. For this case, there is no issue as the
hooks will always exist.
** In case of no rendering-injection, our module can actually be
unloaded. In that case, MyFreeLibrary would call the original function
which in turn would lead to a call to DllMain with DLL_PROCESS_DETACH,
at which point we restore the hooks to their original equivalents in
dllmainProcDetach.
However, afterwards, execution returns to our MyFreeLibrary function,
whichs code is no longer the code we began executing.
** This also leads to the question whether the non-trampoline hooking
ever worked/even works. We restore, call the original (which is already
code that no longer exists) and then inject again.

Lartza/mumble,niko20010/mumble,richard227/mumble,Lartza/mumble,austinliou/mumble,bheart/mumble,SuperNascher/mumble,niko20010/mumble,ccpgames/mumble,feld/mumble,LuAPi/mumble,Githlar/mumble,Natenom/mumble,Zopieux/mumble,unascribed/mumble,SuperNascher/mumble,austinliou/mumble,austinliou/mumble,bheart/mumble,feld/mumble,Keridos/mumble,Zopieux/mumble,austinliou/mumble,feld/mumble,austinliou/mumble,unascribed/mumble,Natenom/mumble,austinliou/mumble,Keridos/mumble,mbax/mumble,mbax/mumble,LuAPi/mumble,ccpgames/mumble,Lartza/mumble,bheart/mumble,LuAPi/mumble,Lartza/mumble,ccpgames/mumble,austinliou/mumble,Natenom/mumble,Githlar/mumble,LuAPi/mumble,Natenom/mumble,ccpgames/mumble,Keridos/mumble,SuperNascher/mumble,feld/mumble,Keridos/mumble,unascribed/mumble,Githlar/mumble,Natenom/mumble,LuAPi/mumble,richard227/mumble,ccpgames/mumble,Keridos/mumble,bheart/mumble,Zopieux/mumble,SuperNascher/mumble,niko20010/mumble,richard227/mumble,Githlar/mumble,feld/mumble,SuperNascher/mumble,Githlar/mumble,niko20010/mumble,austinliou/mumble,richard227/mumble,niko20010/mumble,feld/mumble,Natenom/mumble,unascribed/mumble,LuAPi/mumble,mbax/mumble,Keridos/mumble,bheart/mumble,SuperNascher/mumble,ccpgames/mumble,LuAPi/mumble,SuperNascher/mumble,niko20010/mumble,Keridos/mumble,mbax/mumble,Zopieux/mumble,richard227/mumble,Lartza/mumble,SuperNascher/mumble,Lartza/mumble,unascribed/mumble,Githlar/mumble,Zopieux/mumble,feld/mumble,Lartza/mumble,Keridos/mumble,Zopieux/mumble,niko20010/mumble,Githlar/mumble,niko20010/mumble,LuAPi/mumble,bheart/mumble,Lartza/mumble,Natenom/mumble,Zopieux/mumble,Zopieux/mumble,Githlar/mumble,Natenom/mumble,mbax/mumble,mbax/mumble,richard227/mumble,SuperNascher/mumble,mbax/mumble,LuAPi/mumble,richard227/mumble,ccpgames/mumble,mbax/mumble,richard227/mumble,bheart/mumble,unascribed/mumble,unascribed/mumble,bheart/mumble,ccpgames/mumble,feld/mumble,unascribed/mumble