ShellPkg: Fix the bug that handling Ctrl-C improperly