[gdb/breakpoints] Fix sigsegv in info prog at exec catchpoint