debug_core,kdb: fix kgdb_connected bit set in the wrong place