* ld-elf/shared.exp: Update regexp on --no-add-needed and