Fix curthread() macro