Drop leading and trailing DT/IN from linker args.