Common: Remove gotos in FileUtil, and replace FILE*s with IOFile/ifstreams.
Common: Remove goto in MemArena.
DVDInterface: Tweak speeds
JIT: free up a register by eliminating RCODE_POINTERS

Also use shorter code in the dispatcher if we can get away with it (e.g. on
Windows where the relevant memory is in the low 2GB).
De-memsetify Wii_SSL and fix segfault.

Fixes #7917
The first memset was clearing the delicate bits of the std::string
in the struct, causing segfaults.

I also removed the rest of the memsets because they were paranoid,
unneeded and waseful. We shouldn't be managing the ssl libraries
structs for it.
I checked and the ssl library's functions were already memsetting
those structs as needed.
VideoCommon: Handle wireframe mode in the geometry shader.
D3DState: Remove wireframe rasterizer support.
VideoCommon: Make IsPassthrough() a function of the ShaderUid.
GeometryShaderGen: Re-emit the first vertex when wireframe mode is enabled.
Fixes Adreno 400 slow performance.

Adreno 300 and 400 have the same video driver performance issues because they are very similar architectures which use basically the same thing with
everything.
There isn't any need to detect the family of the driver with Qualcomm anyway. If we ever need family specific bugs then we can implement real support
for that.
Performance issue on Adreno 400 series was due to us only detecting Adreno 300 series, and with Adreno 400 it wouldn't use the bugs, which would cause
it to use glBufferSubData, causing the huge performance hit.
FramebufferManager: Return the depth texture instead of the color texture in GetResolvedEFBDepthTexture() when AA is enabled.
FramebufferManager: Support resolving a multi-layered EFB in D3D.
Minor changes to DriverDetails

Fixes a typo where the official IMGTec drivers were said to be the OSS driver support.
Removes Mali GPU family detection just like I removed the Adreno family detection.
We don't support Mali Utgard anyway.
If we need family detection we can properly add it, right now it isn't needed.
VideoCommon: Don't specify the redundant in/out qualifier if GL_ARB_shading_language_420pack is supported.

Some driver developers interpreted "can" as "must" in the OpenGL specs. (I'm looking at you AMD)
Merge pull request #1717 from Armada651/geom-shaderpack

VideoCommon: Don't specify the redundant in/out qualifier if GL_ARB_shading_language_420pack is supported.
Merge pull request #1721 from Sonicadvance1/fix_adreno_400

Fixes Adreno 400 performance.
Corrected the buffer that is used by the GCAdapter thread.
Removed redundant code from the GC Adapter interface.
OGL: Disable geometry shaders on Intel's Windows drivers due to broken interface blocks.
Merge pull request #1722 from Armada651/intel-interface

OGL: Disable geometry shaders on Intel's Windows drivers due to broken interface blocks.