If arg == 0x1234 and NtTerminateThread returns to the caller GetExitCodeThread status would be some other value than 0x1234 unless NtTerminateThread would return 0x1234 to the caller (which it does not).
It's possible that it sets the exit code without exiting, this is what NtTerminateProcess does. It really needs an explicit test.