gdb: quick fix for compile error on OSX
gdb: fix two compile errors that were missed in the previous commit
test_gdb: make more unit tests more robust to timing variances
gdb: ignore "library-loaded" async notifications
gdb: warn the user when a debug launch will kill a currently running debug session

REVIEW: 121469
test_gdb: use Breakpoint::State, anticipating potential future API changes