This removes the SourcePawn shared library from the distrubtion, and
statically links the VM to sourcemod.logic instead. This means we can
stop designing public APIs that only SourceMod will ever use, since now
SourceMod can just peek directly inside the VM.
We still need a public API for extensions (and the "core" binary). But
that API surface is a lot smaller than what the logic binary needs.
Remove unused DebugReporter::GenerateCodeError function while we're
here, since this will allow removing IPluginDebugInfo.
* Add support for other engine binaries in game configs (#1414).
* Add engine bin path for CRC bin lookup and filter out addons from GAMEBIN.
* MAX_PATH -> PLATFORM_MAX_PATH.
* Fix library lookup on Linux.
Before this, there was a bad assumption that, like on Windows, POSIX module
handle pointers were within the module's address space (and thus usable
with dladdr). That's not true!
Instead, to get a usable address on all platforms, we'll do a lookup of the
CreateInterface function that exists in all modules. This also has the
(arguable) benefit of further locking this implementation to modules owned
by the game.
To get a valid address inside the module now on both p