[gdb, hurd] Repair build after "Convert struct target_ops to C++" changes