Don't reconvert light colors if they don't change.

Also prepare for a possible further optimization in GLES_GPU::FastRunLoop
softgpu: Fix stencil read/write in some formats.
softgpu: Never write alpha, only stencil.
Invert gstate.getClearModeColorMask().

It makes more sense matching gstate.getColorMask().
softgpu: Simplify color clamping.
softgpu: throughmode doesn't disable any tests.
softgpu: Apply stencil op even when depth disabled.
softgpu: Don't apply logic op to stencil value.

Also, they were not at all applying correctly.
softgpu: Fix reversed stencil test funcs.

LESS applies to the ref compared to the stencil, not the stencil compared
to the ref.

With this, stencil testing is finally being done properly in Star Ocean.
Merge pull request #4496 from unknownbrackets/softgpu

Fix stencil testing in the softgpu, and also some small things along the way
Symbian: Handle multiple executable memory allocations.
Windows: Remove MemUsage (from Dolphin) as it was unused.
Fix some tabbing.
Fix omitted CC_AL reset, fixes #4498.

Was breaking non-fastmem lwl/lwr/etc.
Blackberry: fix freezing due to overflow of nanoseconds in timer.
armjit: Do shifts with imms as much as possible.

This may even make an imm operand2 safe that wasn't before.
Avoid a literal in ORI2R where possible.
armjit: inline byteswaps of imm values.
x86jit: Implement wsbh/wsbw.
armjit: Implement mult/multu for immediates.

Uncommon, but may reduce instructions a bit.
armjit: Avoid flushing an imm in beq/bne/etc.

We might be able to STMIA it instead.
armjit: Small optimization to syscall instr.