sim: erc32: fix build w/out termios.h

Add conditional logic around termios.h usage to fix builds on systems
that don't have it (e.g. Windows).
2 files changed