[PATCH v18 11/15] ntdll: Implement NtRegisterThreadTerminatePort.