gdb/dwarf: Convert some predicates from int to bool