[ELF] Fix alignment for dynamic relocation sections.

The sections .rela/.rel.(*) have a alignment of 2 in the final image created by
the linker. This needs to be properly set to the right alignment depending on
the architecture(32/64bits).
[ELF] Dont generate PHDR when creating dynamic libraries.