Fix pty redirection in newer versions of qemu as used by Ubuntu Saucy.
These versions add " (label compat_monitor0)" after the pty name, e.g.,
"char device redirected to /dev/pts/4 (label compat_monitor0)" instead
of the formerly used "char device redirected to /dev/pts/4".