[gdb/testsuite] Fix command result testing in mi-complete.exp