[BUG] Cannot set global hook at`$afterInit` stage
### Describe the bug

You cannot use an `$afterInit` global middleware (i.e. middleware to run after your controllers as the final step). Doing so throws the following error:

```
TypeError: Cannot set properties of undefined (setting 'next')
    at /Users/koushatalebian/demo/application/gateway/node_modules/@tsed/platform-express/src/components/PlatformExpress.ts:155:6
    at AsyncLocalStorage.run (node:async_hooks:346:14)
    at runInContext (/Users/koushatalebian/demo/application/gateway/node_modules/@tsed/di/src/node/utils/asyncHookContext.ts:29:20)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
[ERROR] 15:07:18 TypeError: Cannot set properties of undefined (setting 'next')
```

Hook was installed using `{ use: LogMiddleware, hook: '$afterInit' }` in the `@Configuration` but the same behavior happens if you use the `$afterInit() { this.app.use(LogMiddleware); }` method.

### To Reproduce

1) Clone this repo https://github.com/ktalebian/tsed-bug
2) `npm install` followed by `npm start` 
3) Then do `curl http://0.0.0.0:8083/rest/hello-world`

### Expected behavior

Error should not happe occur

### Code snippets

_No response_

### Repository URL example

_No response_

### OS

macOS

### Node version

Node v18

### Library version

7.43.1

### Additional context

_No response_