Fix issues revealed in TTY environment model specifications when checking tests using memory safety
Detected in build:
Published in build:
When dealing with #11810, I checked memory safety for tests intended for TTY environment model specifications. This revealed 2 issues:
- Missed install callback is considered as a failure.
- There is a memory leak in the model of the tty_port_register_device() function.