Use glStencilMask() to partially simulate amask.

Alpha won't be correct, though.
Merge branch 'stencil-mask' of github.com:unknownbrackets/ppsspp into unknownbrackets-stencil-mask
Merge branch 'unknownbrackets-stencil-mask'