refactoring bfd_linear_search_one_with_gnu_property

- remove the definition of the search predicate outside of the for loop.
- change the function's return type to struct to adopt a more functional
  coding style.
1 file changed