Fix potential OOB in Windows Dedicated TTY CON_Show

Found by Coverity.