gdb: use gdb_assert not internal_error