[PATCH v13 11/13] ntdll: Implement NtRegisterThreadTerminatePort.