[ELF][X86_64][Hexagon] order plt/got entries properly and fix test