gdb: add gdb_bfd_sections for range-based iteration