[gdb/testsuite] Reduce quoting in gdb.base/annota1.exp

Reduce quoting in gdb.base/annota1.exp, mostly using string_to_regexp.

Tested on arm-linux and x86_64-linux.
1 file changed