virttest.utils_misc: Add some code for strip_console_codes

In my test, the code '^[[1S' can't be recognized by this function, just add it.
Merge pull request #1934 from rbian/utils_misc

virttest.utils_misc: Add some code for strip_console_codes