[gdb/testsuite] Improve probe detection in gdb.base/break-probes.exp