[sdb] Simplify the locking in set_breakpoint() a bit.