TextureCache: Implement layered framebuffer support.

Stereoscopic EFB2Tex is now supported, EFB2RAM still requires layered texture conversion.
GeometryShaderGen: Allow stereoscopy to be disabled.

Will facilitate future use of this generator for other purposes.
TextureCache: Check the number of layers before reusing a texture.