cli: fix to revert escape buffer overflow check
Created by: katvin01
Reverted a change that was causing the cli debugger to hang after a character was entered.
Fixes 21acbdd4 (cli: fix escape buffer overflow check)
Signed-off-by: Katherine Vincent katherine.vincent@arm.com Change-Id: Ie6f54cb84ef7c0110ba93c8a1cc56679ec35a590