Remove special behavior of autotools symbol deps

As discussed in #27891.