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