Improve typesafety in the x86 regalloc.