bfd-provider: Handle both REL and RELA relocations