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