scripts: Enable shodan renode multi-session simulation

Allow access the kata shell from different renode
sessions

Use renode port as the input argument to determine which emulated pty
device to access. If no port is set, it assumes the port of :1234 (just
like before). The GDB server port is also adjusted accordingly.

Change-Id: I639891c5d2e81483697d70368a03729300c42ab8
3 files changed