Correct the clobbering of registers in getThreadEntry