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.
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.
Manually revert d34418100be19fdbdf112febde3303edd48c9247
Merge pull request #1730 from comex/suaero

Remove the one commit (as far as I can tell) by soreau that added nontrivial material still in the tree
Merge pull request #1704 from phire/wii_ssl_segfault

De-memsetify Wii_SSL and fix segfault.
Merge pull request #1716 from Armada651/geom-wireframe

VideoCommon: Handle wireframe mode in the geometry shader.
Make WII_IPC_HLE_Device_DI call DVDInterface
GeometryShaderManager: Set stereo parameters in a SetConstants() call.

Doing it in SetProjectionChanged() is too early because the projection type is not set yet.
OGL: don't clear the stencil buffer

We don't have one. This should remove some spamming of the nvidia driver.
Merge pull request #1737 from degasus/master

OGL: don't clear the stencil buffer
FramebufferManager: Support resolving a multi-layered EFB in OGL.