Cap imm branch instructions, reset compiling.

Break and other delay slot ops could've set it to false.

It's actually sometimes faster now.
Make sure there's enough space while compiling.
Improve typesafety in the x86 regalloc.
Merge pull request #3373 from unknownbrackets/mips-minor

Cap imm branch instructions, reset compiling