[gdb/testsuite] Detect trailing ^C/^D in command Detect a trailing ^C/^D in the command argument of gdb_test_multiple, and error out. Tested on x86_64-linux.