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