r_bin: new generalized relocs, with only arch-independent types.

Basic implementation for ELF relocs (x86, x64 and ARM).