[PATCH v16 11/14] ntdll: Implement NtRegisterThreadTerminatePort.