Fix Thumb and Thumb2 tests to be register allocator independent.