runtime: skip TestGdbBacktrace on gdb bug
runtime: skip TestGdbBacktrace on gdb bug

Very rarely, GDB will successfully run the whole test and the inferior
will exit successfully, and then GDB itself hangs and never exits.
Detect this and skip the test as flaky. We could just continue the
test since all of the output we need is there, but by skipping it
we're less likely to notice serious regressions in this test.

Fixes #37405.

Change-Id: I016cbb06f48673f064733da3e3f1ddcbefd58159
Reviewed-on: https://go-review.googlesource.com/c/go/+/411117
Reviewed-by: Cherry Mui <d62e63aa42ce272d7b6a5055d97e942b33a34679@google.com>

golang/go,golang/go,nawawi/go,golang/go,golang/go,nawawi/go,nawawi/go,nawawi/go,golang/go,nawawi/go,golang/go,nawawi/go,nawawi/go,golang/go,nawawi/go,golang/go