Fix incorrect cleanup order in InspIRCd::Exit()

classbase objects such as callers call LogManager::Log() on destruction unless ServerInstance is NULL